package cn.itsource.pay.mapper;

import cn.itsource.pay.domain.TPayAlipayInfo;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface PayAlipayInfoMapper extends Mapper<TPayAlipayInfo> {
    @Select("select * from t_pay_alipay_info where appid=#{appId}")
    TPayAlipayInfo loadByAppid(String appId);

    @Select("select * from t_pay_alipay_info where shop_id=#{shopId}")
    TPayAlipayInfo loadByShopId(Long shopId);
}
